package com.ruoyi.generator.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单设计__模块高级搜索配置对象 sys_from_crud_super_query
 *
 * @author ZGL
 * @date 2025-04-01
 */
public class FromCrudSuperQuery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 表单设计标识 */
    @Excel(name = "表单设计标识")
    private String buildKey;

    /** 规则名称 */
    @Excel(name = "规则名称")
    private String ruleName;

    /** 规则类型 */
    @Excel(name = "规则类型")
    private String ruleType;

    /** 规则配置信息 */
    @Excel(name = "规则配置信息")
    private String ruleConfigs;

    /** 删除标记 */
    private String delFlag;

    /** 记录标识 */
    private String defPk;

    /** 默认与主表关联值 */
    private String defFk;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBuildKey(String buildKey)
    {
        this.buildKey = buildKey;
    }

    public String getBuildKey()
    {
        return buildKey;
    }
    public void setRuleName(String ruleName)
    {
        this.ruleName = ruleName;
    }

    public String getRuleName()
    {
        return ruleName;
    }
    public void setRuleType(String ruleType)
    {
        this.ruleType = ruleType;
    }

    public String getRuleType()
    {
        return ruleType;
    }
    public void setRuleConfigs(String ruleConfigs)
    {
        this.ruleConfigs = ruleConfigs;
    }

    public String getRuleConfigs()
    {
        return ruleConfigs;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setDefPk(String defPk)
    {
        this.defPk = defPk;
    }

    public String getDefPk()
    {
        return defPk;
    }
    public void setDefFk(String defFk)
    {
        this.defFk = defFk;
    }

    public String getDefFk()
    {
        return defFk;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("buildKey", getBuildKey())
            .append("ruleName", getRuleName())
            .append("ruleType", getRuleType())
            .append("ruleConfigs", getRuleConfigs())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("defPk", getDefPk())
            .append("defFk", getDefFk())
            .toString();
    }
}
